package common;

import entity.Commodity;

public enum CommodityKind {
    食品类,生活用品,服饰类,数码类,工具类;
    static Enum<CommodityKind> find(String kind){
        for (Enum<CommodityKind> c:CommodityKind.values()) {
            if (c.name().equals(kind))return c;
        }
        return null;
    }
}
